/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.clases;

/**
 *
 * @author Cristobal
 */
public class Test {
    public static void main(String[] args) throws Exception{
        TvPrototype tvp = new TvPrototype();
        Tv tv = (Tv) tvp.prototipo("Plasma");
        
        System.out.println(tv.getPrecio());
    }
    
}
